package com.cxh.dao;

import java.util.List;
import java.util.Map;

import com.common.entity.A_goods;

public interface A_goodsDao {
	public List<A_goods> findByCondition(Map<String, Object> mp);
	
	public A_goods findById(int id);
	
	public int updateA_goods(Map<String,Object> mp);
	
	public int deleteA_goods(int id);
	
	public int addA_goods(Map<String,Object> mp);
	
	//另加的
	public int countGoods();
	public int countGoodsType(int id);
}
